<%@ page language="java" contentType="text/html; charset=UTF-8" trimDirectiveWhitespaces="true"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<c:set var="contextPath" value="${pageContext.request.contextPath}"/>
<div class="pageContent">
<form method="post" action="${contextPath }/management/purchase/goods/update" class="required-validate pageForm" onsubmit="return validateCallback(this, dialogReloadNavTab);">
	<input type="hidden" name="id" value="${purchaseGoods.id}"/>
	<div class="pageFormContent" layoutH="58">
	<p>
		<label>品名：</label>
		<input type="text" name="pinming" size="32" maxlength="255" value="${purchaseGoods.pinming}" class="required validate[required]"/>
	</p>
	<p>
		<label>采购用途：</label>
		<input type="text" name="yongtu" size="32" maxlength="255" value="${purchaseGoods.yongtu}" class="required validate[required]"/>
	</p>
	<p>
		<label>类别：</label>
		<input type="text" name="leibie" size="32" maxlength="255" value="${purchaseGoods.leibie}" class="required validate[required]"/>
	</p>
	<p>
		<label>单价(元)：</label>
		<input type="text" name="danjia" size="32" maxlength="255" value="${purchaseGoods.danjia}" class="required validate[required]"/>
	</p>
	<p>
		<label>数量(个)：</label>
		<input type="text" name="shuliang" size="32" maxlength="255" value="${purchaseGoods.shuliang}" class="required validate[required]"/>
	</p>
	<p>
		<label>总价(元)：</label>
		<input type="text" name="zongjia" size="32" maxlength="255" value="${purchaseGoods.zongjia}" class="required validate[required]"/>
	</p>
	<p>
		<label>申请人：</label>
		<input type="text" name="shenqingren" size="32" maxlength="255" value="${purchaseGoods.shenqingren}" class="required validate[required]"/>
	</p>
	<p>
		<label>购买人：</label>
		<input type="text" name="goumairen" size="32" maxlength="255" value="${purchaseGoods.goumairen}" class="required validate[required]"/>
	</p>
	<p>
		<label>申请日期：</label>
		<input type="text" name="riqi" class="date" readonly="readonly" style="float:left;" value="<fmt:formatDate value="${purchaseGoods.riqi}" pattern="yyyy-MM-dd HH:mm:ss"/>"/>
		<a class="inputDateButton" href="javascript:;" style="float:left;">选择</a>
	</p>
	<p>
		<label>备注：</label>
		<input type="text" name="beizhu" size="32" maxlength="65535" value="${purchaseGoods.beizhu}" />
	</p>
	</div>
	
	<div class="formBar">
		<ul>
			<li><div class="button"><div class="buttonContent"><button type="submit">确定</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
		</ul>
	</div>
</form>
</div>